import Main from '@/views/Main'

const deviceRouter = {
  path: '/device',
  component: Main,
  redirect: '/device/stacker',
  name: 'device',
  meta: {
    title: 'device'
  },
  children: [
    {
      path: 'stacker',
      component: () => import('@/views/device/Stacker'),
      name: 'Stacker',
      meta: { title: 'Stacker' }
    },
    {
      path: 'belt',
      component: () => import('@/views/device/Belt'),
      name: 'Belt',
      meta: { title: 'Belt' }
    },
    {
      path: 'pdaManage',
      component: () => import('@/views/device/PdaManage'),
      name: 'PdaManage',
      meta: { title: 'PdaManage' }
    },
    {
      path: 'peripherals',
      component: () => import('@/views/device/Peripherals'),
      name: 'Peripherals',
      meta: { title: 'Peripherals' }
    }
  ]
}
export default deviceRouter
